package com.shop.cloud.domain.hongfu;

import io.swagger.annotations.ApiModelProperty;

import java.sql.Timestamp;

import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.shop.cloud.common.mybatis.BaseEntity;

/**
 * 
 * vip_history-
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class VipHistory extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户id号
	 */
	@ApiModelProperty(value = "用户id号")
	 private Long userId;
	/**
	 * 会员卡返利金额
	 */
	@ApiModelProperty(value = "会员卡返利金额")
	 private Integer amount;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	 private Timestamp createTime;
	/**
	 * 处理说明
	 */
	@ApiModelProperty(value = "处理说明")
	 private String description;
	
	/**
	 * 处理说明
	 */
	@ApiModelProperty(value = "会员卡返利期数")
	 private String returnPeriods;
	
    /**
	 * @return the returnPeriods
	 */
	public String getReturnPeriods() {
		return returnPeriods;
	}

	/**
	 * @param returnPeriods the returnPeriods to set
	 */
	public void setReturnPeriods(String returnPeriods) {
		this.returnPeriods = returnPeriods;
	}

	public VipHistory(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Integer getAmount() {
        return this.amount;
    }
    
    public void setAmount(Integer amount) {
        this.amount = amount;
    }
    
    /**
	 * @return the createTime
	 */
	public Timestamp getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getDescription() {
        return this.description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }

}